ExamPlay Light Logo
Logga in

Computer Science for IGCSE & O level - Programming (Section 14 - No. 42)

What is the primary function of selection statements in programming?
To execute a block of code repeatedly.
To perform mathematical calculations.
To make decisions and control program flow based on conditions.
To declare and initialize variables.

Förklaring

Selection statements allow the program to choose what code to execute based on whether conditions are true or false.

Kommentarer (0)

Logga in för att kommentera
Annons
BrainBehindX Inc Logo
©2026; Drivs av BrainBehindX Inc